<?php header("Content-type: text/css"); ?>
<?php
	$absolute_path = __FILE__;
	$path_to_file = explode( 'wp-content', $absolute_path );
	$path_to_wp = $path_to_file[0];
	require_once( $path_to_wp.'/wp-load.php' );

	if ( get_option('carousel_size') == 'custom' )
	{
		$carousel_element_width  = (int)(get_option('carousel_width'));
		$carousel_element_height = (int)(get_option('carousel_height'));
		
		if ( $carousel_element_width  == '' ) $carousel_element_width = 350;
		if ( $carousel_element_height == '' ) $carousel_element_height = 350;
		
		$carousel_element_width  = str_replace( 'px', '', $carousel_element_width );
		$carousel_element_height = str_replace( 'px', '', $carousel_element_height );
	}
	
	else 
	{
		if ( get_option('carousel_size') == 'tall' )   $carousel_element_width = 250;
		if ( get_option('carousel_size') == 'square' ) $carousel_element_width = 350;
		if ( get_option('carousel_size') == 'wide' )   $carousel_element_width = 500;
		
		$carousel_element_height = 350;
	}
	
	if ( get_option('carousel_border') == 'on' )
	{
		$carousel_element_width  += 10;
		$carousel_element_height += 10;
	}
?>

/*    big_carousel     
--------------------------------------------------------*/

#big_carousel_wrapper {
	position: relative;
    width: 100%;
    height: <?php echo $carousel_element_height; ?>px;
}

#big_carousel {
/*	padding-left: 10px !important;*/
	overflow: hidden;
}

#big_carousel a {
	text-decoration: none;
}

#big_carousel li {
	width: <?php echo $carousel_element_width; ?>px ;
}

#big_carousel li img {
	display: block;
}

.big_carousel_no_border {
	background-color: #000000;
	height: 350px;
}

.big_carousel_no_border li {
	opacity: 0.75;	
}

.big_carousel_with_border {
	height: 360px;
}

.big_carousel_with_border li {
	padding-right: 8px;
}


.big_carousel_with_border li .content {
	padding: 4px;
	border: 1px solid #BBBBBB;
    background: #F9F9F9;
}

.big_carousel_with_border li .content:hover  {
	border: 1px solid #666666;
}

.big_carousel_with_border li .content,
#mycarousel li img {
	-moz-transition : all .15s ease-out 0s;
	-o-transition : all .15s ease-out 0s;
	-webkit-transition : all .15s ease-out 0s;
	transition : all .15s ease-out 0s;
}

#big_carousel .slide_image {
	position: relative;	
}

#big_carousel .slide_image .title {
	position: absolute;
	bottom: 15px;
	right: 0px;
	padding: 5px;
}

#big_carousel .slide_image .title h3  {
	font-size: 14pt;
	color: #FFF !important;
}

#big_carousel_prev,
#big_carousel_next {
	position: absolute;
	top: 50%;
	margin-top: -45px;
	width: 45px;
	height: 90px;
	text-indent: -9999px;
}

#big_carousel_prev {
	background-image: url("../images/half_round_arrow_left.png");	
	left: 0px;
}

#big_carousel_next {
	background-image: url("../images/half_round_arrow_right.png");	
	right: 0px;
}